package extend4;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86156
 * Date: 2023-04-12
 * Time: 8:28
 */
public class Teacher extends Employee{

    public Teacher() {

    }

    public Teacher(String id,String name){
        super(id,name);
    }

    @Override
    public void work(){
        System.out.println("正在教书!");
    }

}
